package com.example.springboot.service;

/*
 * 功能：产品进度service
 * 日期：2024-3-31 20:35
 * 作者：RabbitQ
 */

import com.example.springboot.entity.ProdProgress;
import com.example.springboot.mapper.ProdProgressMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProdProgressService {

    @Resource
    ProdProgressMapper prodProgressMapper;

    public List<ProdProgress> selectAll() {

        return prodProgressMapper.selectAll();
    }


    //delay处理功能——根据id删除数据-数据库为progress
    public void delByProductID(Integer id) {
        prodProgressMapper.delProByID(id);
    }
}
